<?php
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

include("ajaxinlcudes.php");
$parentid = $_GET['pid'];
if(isset($_GET['d']))
{
	deleteContentResource($_GET['r'],$_GET['c']);
}
else if(isset($_GET['rp'])){

	deleteRelatePages($_GET['r'],$_GET['c']);
}
else if(isset($_GET['com'])){

	deleteUserComment($_GET['c']);
}

?>